<?php

namespace modules\dashboard;

class api{
    static function counts($q, int $org, string $table, bool $active=true)
    {
        return count(storage::count($q, $org, $table, $active)->run());
    }
}

